﻿<%@ Page Title="feedbacks" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="lcmyjobs.Web.feedbacks.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/mybasic.js" type="text/javascript"></script>
     <link href="../../css/AdminFrame.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1{ width: 155px; }
        table.grid td,th{border-collapse: collapse;font-size:10pt; border:0px; padding-left:13px;}
        .grid{ border:0px;}
        .tdleftmargin{ padding-left:13px; text-align:left; line-height:28px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="rightCenter">
        <div class="rightBack">
           <div class="rightContentTop">
                <ul>
                    <li >
                        <a href="aboutus.aspx" >关于我就业网</a>
                    </li>
                     <li >
                        <a href="service.aspx" >服务声明</a>
                    </li>
                     <li class="cur">
                        <a href="List.aspx" >反馈与投诉</a>
                    </li>
                     <li >
                        <a href="invite1.aspx" >邀请合作</a>
                    </li>
                     <li >
                        <a href="link.aspx" >联系我们</a>
                    </li>
                     <li >
                        <a href="myweb.aspx" >山东各地服务</a>
                    </li>
                    
                </ul>
           </div>
           <div class="rightContentMiddle">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%; padding-top:10px; padding-bottom:5px;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 50px" align="right" class="tdbg">
                         <b>姓名：</b>
                    </td>
                    <td class="style1" align="left">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>  
                    </td>
                    <td class="tdbg" align="left">                       
                        <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" CssClass="bgbtn" style=" display:inline;" >
                    </asp:Button> 
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->            
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" 
        Width="100%"   OnPageIndexChanging ="gridView_PageIndexChanging"
                     DataKeyNames="fid" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="False"  
        RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated" 
        onrowdeleting="gridView_RowDeleting" EnableModelValidation="True" CssClass="grid">
                    <Columns>
                    <asp:TemplateField  HeaderText="反馈内容" HeaderStyle-Width="50%"
                            SortExpression="ftext"    >
                             <HeaderTemplate>
                        <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />
                        反馈内容
                    </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" runat="server" /> <asp:Label ID="Label1" runat="server" Text='<%# Bind("ftext") %>'></asp:Label>
                                </ItemTemplate>

                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("ftext") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" CssClass="tdleftmargin"/>
                            <ItemStyle  CssClass="tdleftmargin" HorizontalAlign="Left" />
                            </asp:TemplateField> 
                            
		<asp:BoundField DataField="fname" HeaderText="姓名" SortExpression="fname" 
                            ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="phone" HeaderText="电话" SortExpression="phone" 
                            ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
		<asp:BoundField DataField="email" HeaderText="反馈邮箱" SortExpression="email" 
                            ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>

		<asp:BoundField DataField="ftime" HeaderText="反馈时间" DataFormatString="{0:yyyy-MM-dd}" SortExpression="ftime" 
                            ItemStyle-HorizontalAlign="Center"  > 
                            
                            
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                        </asp:BoundField>
                            
                            
                            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除" >
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                         Text="删除"></asp:LinkButton>
                                </ItemTemplate>

<ControlStyle Width="50px"></ControlStyle>
                            </asp:TemplateField>
                        </Columns>
                    <PagerStyle Font-Overline="False" Font-Size="12pt" HorizontalAlign="Center" />

<RowStyle HorizontalAlign="Center"></RowStyle>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                    <div style="margin:0 auto; width:150px; margin-top:15px; margin-bottom:15px;">
                        <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" 
                         CssClass="bgbtn"/>    
                         </div>                   
                    </td>
                </tr>
            </table>
            </div></div></div>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>
